﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MODEL
{
    /// <summary>
    /// 用户注册信息
    /// </summary>
    #region 用户注册信息
    public class UserLogon
    {
        public UserLogon()
        { }
        /// <summary>
        /// 用户编号
        /// </summary>
        private string _uID;

        public string UID
        {
            get { return _uID; }
            set { _uID = value; }
        }
        /// <summary>
        /// 用户登录名
        /// </summary>
        private string _ulogonName;

        public string UlogonName
        {
            get { return _ulogonName; }
            set { _ulogonName = value; }
        }
        /// <summary>
        /// 用户登录密码
        /// </summary>
        private string _upassWord;

        public string UpassWord
        {
            get { return _upassWord; }
            set { _upassWord = value; }
        }
        /// <summary>
        /// 上次登录IP
        /// </summary>
        private string _uprevIP;

        public string UprevIP
        {
            get { return _uprevIP; }
            set { _uprevIP = value; }
        }
        /// <summary>
        /// 本次登录IP
        /// </summary>
        private string _ulogonIP;

        public string UlogonIP
        {
            get { return _ulogonIP; }
            set { _ulogonIP = value; }
        }
        /// <summary>
        /// 上次登录时间
        /// </summary>
        private DateTime _uprevTime;

        public DateTime UprevTime
        {
            get { return _uprevTime; }
            set { _uprevTime = value; }
        }
        /// <summary>
        /// 本次登录时间
        /// </summary>
        private DateTime _ulogonTime;

        public DateTime UlogonTime
        {
            get { return _ulogonTime; }
            set { _ulogonTime = value; }
        }
        /// <summary>
        /// 账户状态
        /// </summary>
        private bool _ustate;

        public bool Ustate
        {
            get { return _ustate; }
            set { _ustate = value; }
        }
        /// <summary>
        /// 账户注册时间
        /// </summary>
        private DateTime _uregtime;

        public DateTime Uregtime
        {
            get { return _uregtime; }
            set { _uregtime = value; }
        }
    }
    #endregion

    /// <summary>
    /// 用户密码保护
    /// </summary>
    #region 用户密码保护
    public class UserPassSafeguard
    {
        public UserPassSafeguard()
        { }
        /// <summary>
        /// 编号
        /// </summary>
        private int _iD;

        public int ID
        {
            get { return _iD; }
            set { _iD = value; }
        }
        /// <summary>
        /// 用户编号
        /// </summary>
        private string _uID;

        public string UID
        {
            get { return _uID; }
            set { _uID = value; }
        }
        /// <summary>
        /// 密保问题编号
        /// </summary>
        private int _uquestionID;

        public int UquestionID
        {
            get { return _uquestionID; }
            set { _uquestionID = value; }
        }
        /// <summary>
        /// 密保答案
        /// </summary>
        private string _uanswer;

        public string Uanswer
        {
            get { return _uanswer; }
            set { _uanswer = value; }
        }
    }
    #endregion

    /// <summary>
    /// 用户信息
    /// </summary>
    #region 用户信息
    public class UserInformation
    {
        public UserInformation()
        { }

        /// <summary>
        /// 用户编号
        /// </summary>
        private string _uID;

        public string UID
        {
            get { return _uID; }
            set { _uID = value; }
        }
        /// <summary>
        /// 昵称
        /// </summary>
        private string _unickName;

        public string UnickName
        {
            get { return _unickName; }
            set { _unickName = value; }
        }
        /// <summary>
        /// 性别
        /// </summary>
        private bool _usex;

        public bool Usex
        {
            get { return _usex; }
            set { _usex = value; }
        }
        /// <summary>
        /// QQ
        /// </summary>
        private string _uqq;

        public string Uqq
        {
            get { return _uqq; }
            set { _uqq = value; }
        }
        /// <summary>
        /// 邮箱
        /// </summary>
        private string _uemail;

        public string Uemail
        {
            get { return _uemail; }
            set { _uemail = value; }
        }
        /// <summary>
        /// 联系方式
        /// </summary>
        private string _utel;

        public string Utel
        {
            get { return _utel; }
            set { _utel = value; }
        }
        /// <summary>
        /// 省
        /// </summary>
        private string _uprovince;

        public string Uprovince
        {
            get { return _uprovince; }
            set { _uprovince = value; }
        }
        /// <summary>
        /// 城市
        /// </summary>
        private string _ucity;

        public string Ucity
        {
            get { return _ucity; }
            set { _ucity = value; }
        }
        /// <summary>
        /// 注册时间
        /// </summary>
        private DateTime _uregTime;

        public DateTime UregTime
        {
            get { return _uregTime; }
            set { _uregTime = value; }
        }
    }
    #endregion

    /// <summary>
    /// 用户游戏信息
    /// </summary>
    #region 用户游戏信息
    public class UserGameInformation
    {
        public UserGameInformation()
        { }

        /// <summary>
        /// 用户编号
        /// </summary>
        private string _uID;

        public string UID
        {
            get { return _uID; }
            set { _uID = value; }
        }
        /// <summary>
        /// 游戏编号
        /// </summary>
        private string _ugameID;

        public string UgameID
        {
            get { return _ugameID; }
            set { _ugameID = value; }
        }
        /// <summary>
        /// 注册时间
        /// </summary>
        private DateTime _uregTime;

        public DateTime UregTime
        {
            get { return _uregTime; }
            set { _uregTime = value; }
        }
    }
    #endregion

    /// <summary>
    /// 用户消费信息
    /// </summary>
    #region 用户消费信息
    public class UserConsumotion
    {
        public UserConsumotion()
        { }

        /// <summary>
        /// 用户编号
        /// </summary>
        private string _uID;

        public string UID
        {
            get { return _uID; }
            set { _uID = value; }
        }
        /// <summary>
        /// 订单编号
        /// </summary>
        private string _uorderID;

        public string UorderID
        {
            get { return _uorderID; }
            set { _uorderID = value; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        private DateTime _ucreateTime;

        public DateTime UcreateTime
        {
            get { return _ucreateTime; }
            set { _ucreateTime = value; }
        }
        /// <summary>
        /// 结束时间
        /// </summary>
        private DateTime _uoverTime;

        public DateTime UoverTime
        {
            get { return _uoverTime; }
            set { _uoverTime = value; }
        }
        /// <summary>
        /// 是否结束
        /// </summary>
        private bool _uisOver;

        public bool UisOver
        {
            get { return _uisOver; }
            set { _uisOver = value; }
        }
    }
    #endregion

    /// <summary>
    /// 密保问题
    /// </summary>
    #region 密保问题
    public class UserQuestion
    {
        public UserQuestion()
        { }
        /// <summary>
        /// 编号
        /// </summary>
        private int _uID;

        public int UID
        {
            get { return _uID; }
            set { _uID = value; }
        }
        /// <summary>
        /// 问题内容
        /// </summary>
        private string _uquestion;

        public string Uquestion
        {
            get { return _uquestion; }
            set { _uquestion = value; }
        }
        /// <summary>
        /// 问题类型
        /// </summary>
        private bool _ustate;

        public bool Ustate
        {
            get { return _ustate; }
            set { _ustate = value; }
        }
    }
    #endregion
}
